
var fs = require("fs")

fs.readFile('input.txt', function(err, data){
    if (err) {
        return console.log(err)
    }
    console.log(data.toString())
});

console.log("Asynchronized approach  END!")

var fileStr = fs.readFileSync('input1.txt');
console.log(fileStr.toString())

console.log("Synchronized approach END!")